import java.util.Scanner;

public class grade {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("input the grade: ");
        int grade = sc.nextInt();
        int isPass;
        if(grade < 60 && grade >= 0){
            isPass = 1;
        }
        else if (grade >= 60){
            isPass = 0;
        }
        else {
            isPass = -1;
        }
        switch (isPass){
            case 0:
                System.out.println("合格");
                break;
            case 1:
                System.out.println("不合格");
                break;
            default:
                System.out.println("输入有误");
        }
    }
}
